package com.kc.data.common.domain.form;

import com.baomidou.mybatisplus.annotation.TableName;
import com.kc.data.common.domain.goodsSku.BizGoodsSkuSpecs;
import com.kc.data.common.domain.goodsSku.BizGoodsSkuSpecsInfo;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 商品规格参数
 */
@Data
@TableName(value = "kc_goods")
public class BizGoodsSpecsForm {
    /*商品id*/
    @NotNull(message = "商品id错误11")
    @Min(value = 0,message = "商品id错误")
    private Integer id;
    /*商品规格*/
    //@NotNull(message = "商品规格错误")
    private List<BizGoodsSkuSpecsInfo> specs;
    /*商品大规格*/
    //@NotNull(message = "商品大规格错误")
    private List<BizGoodsSkuSpecs> bigSpecs;
}
